package com.waves.design.singleton;

/**
 * 饿汉模式1-静态变量方式
 */
public class Singleton01 {
    private static Singleton01 singleton01 = new Singleton01();

    public Singleton01() {
    }

    public static Singleton01 getInstance() {
        return singleton01;
    }
}
